package io.renren.modules.PCguanli.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

import io.renren.modules.PCguanli.dao.TestQuestionRpDao;
import io.renren.modules.PCguanli.entity.TestQuestionRpEntity;
import io.renren.modules.PCguanli.service.TestQuestionRpService;


@Service("testQuestionRpService")
public class TestQuestionRpServiceImpl extends ServiceImpl<TestQuestionRpDao, TestQuestionRpEntity> implements TestQuestionRpService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<TestQuestionRpEntity> page = this.page(
                new Query<TestQuestionRpEntity>().getPage(params),
                new QueryWrapper<TestQuestionRpEntity>()
        );

        return new PageUtils(page);
    }

}